package com.sanjiahantang.youjiaclient.module.programmeprice.beans;

import com.google.gson.Gson;
import com.sanjiahantang.youjiaclient.base.BaseBean;

import java.io.Serializable;
import java.util.List;

/**
 * Created by admin on 2017/11/9.
 */

public class ProgramBean extends BaseBean {
    /**
     * accessoriesList : [{"serviceType":0,"isRecommend":0,"supplyName":"索菲亚家具","returnGoodsState":0,"skuFaId":"1507619613856","isPlaceAnOrder":0,"pushStateId":1,"pgpId":63,"url":"upload/2017/10/10/123.jpg","goodsType":"3","brandType":"跳跳沙发 紫色,方形","goodsCount":"900","supplyId":"16","goodsPrice":"300","imageUrl":"https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1505998412656&di=b90807d12b0d27d2d919a23268bdac3e&imgtype=0&src=http%3A%2F%2Fimg01.hc360.cn%2F01%2Fbusin%2F169%2F862%2Fb%2F01-169862461.jpg","typeId":"0","planId":111,"mgiId":1086,"goodsName":"跳跳沙发","goodsNum":3},{"serviceType":0,"isRecommend":0,"supplyName":"凯撒豪庭","returnGoodsState":0,"skuFaId":"1507621682039","isPlaceAnOrder":0,"pushStateId":1,"pgpId":64,"goodsType":"3","brandType":"坐便器 5*5,红色","goodsCount":"1200","supplyId":"15","goodsPrice":"1200","imageUrl":"https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1505998579980&di=bf579a37a223a38905526f5b1c917f34&imgtype=0&src=http%3A%2F%2Fpic.shejiben.com%2Fmall%2F2013%2F09%2F28%2F20130928010036-009f2411_m.jpg","typeId":"0","planId":111,"mgiId":1087,"goodsName":"坐便器","goodsNum":1}]
     * furnitureList : [{"serviceType":0,"isRecommend":0,"supplyName":"凯撒豪庭","returnGoodsState":0,"skuFaId":"1507536905926","isPlaceAnOrder":0,"pushStateId":1,"pgpId":62,"url":"upload/2017/10/20/11082909231a78d1f71b84f628.jpg","goodsType":"2","brandType":"砂锅 砂锅","goodsCount":"222","supplyId":"15","goodsPrice":"222","imageUrl":"https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1505997732492&di=e811c3d0e415875c9bf7c664dc07674d&imgtype=0&src=http%3A%2F%2Fpic.58pic.com%2F58pic%2F13%2F45%2F28%2F21s58PICVFt_1024.jpg","typeId":"0","planId":111,"mgiId":1070,"goodsName":"砂锅","goodsNum":1}]
     * materialList : [{"serviceType":0,"isRecommend":0,"supplyName":"凯撒豪庭","returnGoodsState":0,"skuFaId":"1507270238990","isPlaceAnOrder":0,"pushStateId":1,"pgpId":61,"url":"upload/2017/10/20/54816627dd045.jpg","goodsType":"1","brandType":"中盛 地板 PA091,10","goodsCount":"1200","supplyId":"15","goodsPrice":"20","imageUrl":"https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1505997497201&di=28c8736fda9ec17aca487bf7b0831bf1&imgtype=0&src=http%3A%2F%2Fnewfile.letfind.com%2Fshop%2F2015%2F11%2F09%2F11091651315152.jpg","typeId":"0","planId":111,"mgiId":1058,"goodsName":"中盛 地板 ","goodsNum":60},{"serviceType":0,"isRecommend":0,"supplyName":"索菲亚家具","returnGoodsState":0,"skuFaId":"1506071196015","isPlaceAnOrder":0,"pushStateId":1,"pgpId":60,"goodsType":"1","brandType":"瓷砖 M80C012WX,5","goodsCount":"2000","supplyId":"16","goodsPrice":"200","imageUrl":"https://ss0.bdstatic.com/94oJfD_bAAcT8t7mm9GUKT-xh_/timg?image&quality=100&size=b4000_4000&sec=1505987265&di=ffd6b76e2f6e84059bfde9e255a632b9&src=http://pic.jia360.com/ueditor/jsp/upload/201509/21/88451442816953598.jpg","typeId":"0","planId":111,"goodsName":"瓷砖","goodsNum":10}]
     * ppId : 111
     * serviceList : [{"serviceNum":10,"serviceType":0,"isRecommend":0,"skuFaId":"1505984377780","pspId":38,"isPlaceAnOrder":0,"pushStateId":1,"serviceName":"标准施工","userRequireId":9,"designName":"张飞","serviceCount":"6990","phone":"15620560525","servicePrice":"699","planId":111,"typeId":"0"},{"serviceNum":1,"serviceType":0,"isRecommend":0,"skuFaId":"1505985999942","pspId":39,"isPlaceAnOrder":0,"pushStateId":1,"serviceName":"电路施工","userRequireId":9,"designName":"张飞","serviceCount":"2780","phone":"15620560525","servicePrice":"278","planId":111,"typeId":"0"},{"serviceNum":1,"serviceType":0,"isRecommend":0,"skuFaId":"1506043339627","pspId":40,"isPlaceAnOrder":0,"pushStateId":1,"serviceName":"水路施工","userRequireId":9,"designName":"张飞","serviceCount":"699","phone":"15620560525","servicePrice":"699","planId":111,"typeId":"0"}]
     * userRequireId : 9
     * version : 0
     */
    String data;

    public Data getData() {
        return new Gson().fromJson(data, Data.class);
    }

    public void setData(String data) {
        this.data = data;
    }

    public static class Data {
        /**
         * accessoriesList : [{"serviceType":0,"isRecommend":0,"supplyName":"索菲亚家具","returnGoodsState":0,"skuFaId":"1507619613856","isPlaceAnOrder":0,"pushStateId":1,"pgpId":63,"url":"upload/2017/10/10/123.jpg","goodsType":"3","brandType":"跳跳沙发 紫色,方形","goodsCount":"900","supplyId":"16","goodsPrice":"300","imageUrl":"https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1505998412656&di=b90807d12b0d27d2d919a23268bdac3e&imgtype=0&src=http%3A%2F%2Fimg01.hc360.cn%2F01%2Fbusin%2F169%2F862%2Fb%2F01-169862461.jpg","typeId":"0","planId":111,"mgiId":1086,"goodsName":"跳跳沙发","goodsNum":3},{"serviceType":0,"isRecommend":0,"supplyName":"凯撒豪庭","returnGoodsState":0,"skuFaId":"1507621682039","isPlaceAnOrder":0,"pushStateId":1,"pgpId":64,"goodsType":"3","brandType":"坐便器 5*5,红色","goodsCount":"1200","supplyId":"15","goodsPrice":"1200","imageUrl":"https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1505998579980&di=bf579a37a223a38905526f5b1c917f34&imgtype=0&src=http%3A%2F%2Fpic.shejiben.com%2Fmall%2F2013%2F09%2F28%2F20130928010036-009f2411_m.jpg","typeId":"0","planId":111,"mgiId":1087,"goodsName":"坐便器","goodsNum":1}]
         * furnitureList : [{"serviceType":0,"isRecommend":0,"supplyName":"凯撒豪庭","returnGoodsState":0,"skuFaId":"1507536905926","isPlaceAnOrder":0,"pushStateId":1,"pgpId":62,"url":"upload/2017/10/20/11082909231a78d1f71b84f628.jpg","goodsType":"2","brandType":"砂锅 砂锅","goodsCount":"222","supplyId":"15","goodsPrice":"222","imageUrl":"https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1505997732492&di=e811c3d0e415875c9bf7c664dc07674d&imgtype=0&src=http%3A%2F%2Fpic.58pic.com%2F58pic%2F13%2F45%2F28%2F21s58PICVFt_1024.jpg","typeId":"0","planId":111,"mgiId":1070,"goodsName":"砂锅","goodsNum":1}]
         * materialList : [{"serviceType":0,"isRecommend":0,"supplyName":"凯撒豪庭","returnGoodsState":0,"skuFaId":"1507270238990","isPlaceAnOrder":0,"pushStateId":1,"pgpId":61,"url":"upload/2017/10/20/54816627dd045.jpg","goodsType":"1","brandType":"中盛 地板 PA091,10","goodsCount":"1200","supplyId":"15","goodsPrice":"20","imageUrl":"https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1505997497201&di=28c8736fda9ec17aca487bf7b0831bf1&imgtype=0&src=http%3A%2F%2Fnewfile.letfind.com%2Fshop%2F2015%2F11%2F09%2F11091651315152.jpg","typeId":"0","planId":111,"mgiId":1058,"goodsName":"中盛 地板 ","goodsNum":60},{"serviceType":0,"isRecommend":0,"supplyName":"索菲亚家具","returnGoodsState":0,"skuFaId":"1506071196015","isPlaceAnOrder":0,"pushStateId":1,"pgpId":60,"goodsType":"1","brandType":"瓷砖 M80C012WX,5","goodsCount":"2000","supplyId":"16","goodsPrice":"200","imageUrl":"https://ss0.bdstatic.com/94oJfD_bAAcT8t7mm9GUKT-xh_/timg?image&quality=100&size=b4000_4000&sec=1505987265&di=ffd6b76e2f6e84059bfde9e255a632b9&src=http://pic.jia360.com/ueditor/jsp/upload/201509/21/88451442816953598.jpg","typeId":"0","planId":111,"goodsName":"瓷砖","goodsNum":10}]
         * ppId : 111
         * serviceList : [{"serviceNum":10,"serviceType":0,"isRecommend":0,"skuFaId":"1505984377780","pspId":38,"isPlaceAnOrder":0,"pushStateId":1,"serviceName":"标准施工","userRequireId":9,"designName":"张飞","serviceCount":"6990","phone":"15620560525","servicePrice":"699","planId":111,"typeId":"0"},{"serviceNum":1,"serviceType":0,"isRecommend":0,"skuFaId":"1505985999942","pspId":39,"isPlaceAnOrder":0,"pushStateId":1,"serviceName":"电路施工","userRequireId":9,"designName":"张飞","serviceCount":"2780","phone":"15620560525","servicePrice":"278","planId":111,"typeId":"0"},{"serviceNum":1,"serviceType":0,"isRecommend":0,"skuFaId":"1506043339627","pspId":40,"isPlaceAnOrder":0,"pushStateId":1,"serviceName":"水路施工","userRequireId":9,"designName":"张飞","serviceCount":"699","phone":"15620560525","servicePrice":"699","planId":111,"typeId":"0"}]
         * userRequireId : 9
         * version : 0
         */
        public String buyPersonMessage;

        public String getBuyPersonMessage() {
            return buyPersonMessage;
        }

        public void setBuyPersonMessage(String buyPersonMessage) {
            this.buyPersonMessage = buyPersonMessage;
        }

        private int ppId;
        private int userRequireId;
        private String userName;
        private String version;
        private String token;
        private int phoneTypeId;
        private int type;

        public String getUserName() {
            return userName;
        }

        public void setUserName(String userName) {
            this.userName = userName;
        }

        public int getPhoneTypeId() {
            return phoneTypeId;
        }

        public void setPhoneTypeId(int phoneTypeId) {
            this.phoneTypeId = phoneTypeId;
        }


        public int getType() {
            return type;
        }

        public void setType(int type) {
            this.type = type;
        }

        /**
         * 收货地址
         *
         * @return
         */
        private int userAddressId;//收货地址id
        private String address;
        private String fullAddress;//详细的收货地址
        private String phone;//电话
        private String customerName;//收货人姓名
        private int isDefault;//是否默认收货地址0不是默认1是默认
        private String cellPhone;

        public int getUserAddressId() {
            return userAddressId;
        }

        public void setUserAddressId(int userAddressId) {
            this.userAddressId = userAddressId;
        }

        public String getAddress() {
            return address;
        }

        public void setAddress(String address) {
            this.address = address;
        }

        public String getFullAddress() {
            return fullAddress;
        }

        public void setFullAddress(String fullAddress) {
            this.fullAddress = fullAddress;
        }

        public String getPhone() {
            return phone;
        }

        public void setPhone(String phone) {
            this.phone = phone;
        }

        public String getCustomerName() {
            return customerName;
        }

        public void setCustomerName(String customerName) {
            this.customerName = customerName;
        }

        public int getIsDefault() {
            return isDefault;
        }

        public void setIsDefault(int isDefault) {
            this.isDefault = isDefault;
        }

        public String getCellPhone() {
            return cellPhone;
        }

        public void setCellPhone(String cellPhone) {
            this.cellPhone = cellPhone;
        }

        public String getToken() {
            return token;
        }

        public void setToken(String token) {
            this.token = token;
        }

        private List<GoodsListBean> accessoriesList;
        private List<GoodsListBean> furnitureList;
        private List<GoodsListBean> materialList;
        private List<ServiceListBean> serviceList;
        OrderInvoiceInfoDtoBean orderInvoiceInfoDto;

        public OrderInvoiceInfoDtoBean getOrderInvoiceInfoDto() {
            return orderInvoiceInfoDto;
        }

        public void setOrderInvoiceInfoDto(OrderInvoiceInfoDtoBean orderInvoiceInfoDto) {
            this.orderInvoiceInfoDto = orderInvoiceInfoDto;
        }

        public List<GoodsListBean> getFurnitureList() {
            return furnitureList;
        }

        public void setFurnitureList(List<GoodsListBean> furnitureList) {
            this.furnitureList = furnitureList;
        }

        public List<GoodsListBean> getMaterialList() {
            return materialList;
        }

        public void setMaterialList(List<GoodsListBean> materialList) {
            this.materialList = materialList;
        }

        public int getPpId() {
            return ppId;
        }

        public void setPpId(int ppId) {
            this.ppId = ppId;
        }

        public int getUserRequireId() {
            return userRequireId;
        }

        public void setUserRequireId(int userRequireId) {
            this.userRequireId = userRequireId;
        }

        public String getVersion() {
            return version;
        }

        public void setVersion(String version) {
            this.version = version;
        }

        public List<GoodsListBean> getAccessoriesList() {
            return accessoriesList;
        }

        public void setAccessoriesList(List<GoodsListBean> accessoriesList) {
            this.accessoriesList = accessoriesList;
        }



        public List<ServiceListBean> getServiceList() {
            return serviceList;
        }

        public void setServiceList(List<ServiceListBean> serviceList) {
            this.serviceList = serviceList;
        }

        public static class OrderInvoiceInfoDtoBean {
            /**
             * invoiceTitle : 发票
             * isPersonalOrCompany : 0
             */

            private String invoiceTitle;
            private String isPersonalOrCompany;
            private String taxNum;

            public String getTaxNum() {
                return taxNum;
            }

            public void setTaxNum(String taxNum) {
                this.taxNum = taxNum;
            }

            public String getInvoiceTitle() {
                return invoiceTitle;
            }

            public void setInvoiceTitle(String invoiceTitle) {
                this.invoiceTitle = invoiceTitle;
            }

            public String getIsPersonalOrCompany() {
                return isPersonalOrCompany;
            }

            public void setIsPersonalOrCompany(String isPersonalOrCompany) {
                this.isPersonalOrCompany = isPersonalOrCompany;
            }
        }

        public static class GoodsListBean {
            /**
             * serviceType : 0
             * isRecommend : 0
             * supplyName : 索菲亚家具
             * returnGoodsState : 0
             * skuFaId : 1507619613856
             * isPlaceAnOrder : 0
             * pushStateId : 1
             * pgpId : 63
             * url : upload/2017/10/10/123.jpg
             * goodsType : 3
             * brandType : 跳跳沙发 紫色,方形
             * goodsCount : 900
             * supplyId : 16
             * goodsPrice : 300
             * imageUrl : https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1505998412656&di=b90807d12b0d27d2d919a23268bdac3e&imgtype=0&src=http%3A%2F%2Fimg01.hc360.cn%2F01%2Fbusin%2F169%2F862%2Fb%2F01-169862461.jpg
             * typeId : 0
             * planId : 111
             * mgiId : 1086
             * goodsName : 跳跳沙发
             * goodsNum : 3
             *
             *
             *
             *    \"mgpiraId\": \"132\",
             \"mgpiValue\": \"PA091\",
             \"resultPrice\": \"3400\",
             \"skuPrice\": 100,
             \"skuId\": \"1507270226486\",
             \"stockCount\": 300
             */

            private int serviceType;
            private int isRecommend;
            private String supplyName;
            private int returnGoodsState;
            private String skuFaId;
            private int isPlaceAnOrder;
            private int pushStateId;
            private int pgpId;
            private String url;
            private String goodsType;
            private String brandType;
            private String goodsCount;
            private String supplyId;
            private String goodsPrice;
            private String imageUrl;
            private String typeId;
            private int planId;
            private int mgiId;
            private String goodsName;
            private int goodsNum;
            private String phone;

            public String getPhone() {
                return phone;
            }

            public void setPhone(String phone) {
                this.phone = phone;
            }

            public int getServiceType() {
                return serviceType;
            }

            public void setServiceType(int serviceType) {
                this.serviceType = serviceType;
            }

            public int getIsRecommend() {
                return isRecommend;
            }

            public void setIsRecommend(int isRecommend) {
                this.isRecommend = isRecommend;
            }

            public String getSupplyName() {
                return supplyName;
            }

            public void setSupplyName(String supplyName) {
                this.supplyName = supplyName;
            }

            public int getReturnGoodsState() {
                return returnGoodsState;
            }

            public void setReturnGoodsState(int returnGoodsState) {
                this.returnGoodsState = returnGoodsState;
            }

            public String getSkuFaId() {
                return skuFaId;
            }

            public void setSkuFaId(String skuFaId) {
                this.skuFaId = skuFaId;
            }

            public int getIsPlaceAnOrder() {
                return isPlaceAnOrder;
            }

            public void setIsPlaceAnOrder(int isPlaceAnOrder) {
                this.isPlaceAnOrder = isPlaceAnOrder;
            }

            public int getPushStateId() {
                return pushStateId;
            }

            public void setPushStateId(int pushStateId) {
                this.pushStateId = pushStateId;
            }

            public int getPgpId() {
                return pgpId;
            }

            public void setPgpId(int pgpId) {
                this.pgpId = pgpId;
            }

            public String getUrl() {
                return url;
            }

            public void setUrl(String url) {
                this.url = url;
            }

            public String getGoodsType() {
                return goodsType;
            }

            public void setGoodsType(String goodsType) {
                this.goodsType = goodsType;
            }

            public String getBrandType() {
                return brandType;
            }

            public void setBrandType(String brandType) {
                this.brandType = brandType;
            }

            public String getGoodsCount() {
                return goodsCount;
            }

            public void setGoodsCount(String goodsCount) {
                this.goodsCount = goodsCount;
            }

            public String getSupplyId() {
                return supplyId;
            }

            public void setSupplyId(String supplyId) {
                this.supplyId = supplyId;
            }

            public String getGoodsPrice() {
                return goodsPrice;
            }

            public void setGoodsPrice(String goodsPrice) {
                this.goodsPrice = goodsPrice;
            }

            public String getImageUrl() {
                return imageUrl;
            }

            public void setImageUrl(String imageUrl) {
                this.imageUrl = imageUrl;
            }

            public String getTypeId() {
                return typeId;
            }

            public void setTypeId(String typeId) {
                this.typeId = typeId;
            }

            public int getPlanId() {
                return planId;
            }

            public void setPlanId(int planId) {
                this.planId = planId;
            }

            public int getMgiId() {
                return mgiId;
            }

            public void setMgiId(int mgiId) {
                this.mgiId = mgiId;
            }

            public String getGoodsName() {
                return goodsName;
            }

            public void setGoodsName(String goodsName) {
                this.goodsName = goodsName;
            }

            public int getGoodsNum() {
                return goodsNum;
            }

            public void setGoodsNum(int goodsNum) {
                this.goodsNum = goodsNum;
            }
        }


        public static class ServiceListBean extends ProgramBean {
            /**
             * serviceNum : 10
             * serviceType : 0
             * isRecommend : 0
             * skuFaId : 1505984377780
             * pspId : 38
             * isPlaceAnOrder : 0
             * pushStateId : 1
             * serviceName : 标准施工
             * userRequireId : 9
             * designName : 张飞
             * serviceCount : 6990
             * phone : 15620560525
             * servicePrice : 699
             * planId : 111
             * typeId : 0
             */

            private int serviceNum;
            private int serviceType;
            private int isRecommend;
            private String skuFaId;
            private int pspId;
            private int isPlaceAnOrder;
            private int pushStateId;
            private String serviceName;
            private int userRequireId;
            private String designName;
            private String serviceCount;
            private String phone;
            private String servicePrice;
            private int planId;
            private String typeId;
            private String rolePhone;
            private int mgiId;
            private String remark;

            public int getMgiId() {
                return mgiId;
            }

            public void setMgiId(int mgiId) {
                this.mgiId = mgiId;
            }

            public String getRolePhone() {
                return rolePhone;
            }

            public void setRolePhone(String rolePhone) {
                this.rolePhone = rolePhone;
            }

            public int getServiceNum() {
                return serviceNum;
            }

            public void setServiceNum(int serviceNum) {
                this.serviceNum = serviceNum;
            }

            public int getServiceType() {
                return serviceType;
            }

            public void setServiceType(int serviceType) {
                this.serviceType = serviceType;
            }

            public int getIsRecommend() {
                return isRecommend;
            }

            public void setIsRecommend(int isRecommend) {
                this.isRecommend = isRecommend;
            }

            public String getSkuFaId() {
                return skuFaId;
            }

            public void setSkuFaId(String skuFaId) {
                this.skuFaId = skuFaId;
            }

            public int getPspId() {
                return pspId;
            }

            public void setPspId(int pspId) {
                this.pspId = pspId;
            }

            public int getIsPlaceAnOrder() {
                return isPlaceAnOrder;
            }

            public void setIsPlaceAnOrder(int isPlaceAnOrder) {
                this.isPlaceAnOrder = isPlaceAnOrder;
            }

            public int getPushStateId() {
                return pushStateId;
            }

            public void setPushStateId(int pushStateId) {
                this.pushStateId = pushStateId;
            }

            public String getServiceName() {
                return serviceName;
            }

            public void setServiceName(String serviceName) {
                this.serviceName = serviceName;
            }

            public int getUserRequireId() {
                return userRequireId;
            }

            public void setUserRequireId(int userRequireId) {
                this.userRequireId = userRequireId;
            }

            public String getDesignName() {
                return designName;
            }

            public void setDesignName(String designName) {
                this.designName = designName;
            }

            public String getServiceCount() {
                return serviceCount;
            }

            public void setServiceCount(String serviceCount) {
                this.serviceCount = serviceCount;
            }

            public String getPhone() {
                return phone;
            }

            public void setPhone(String phone) {
                this.phone = phone;
            }

            public String getServicePrice() {
                return servicePrice;
            }

            public void setServicePrice(String servicePrice) {
                this.servicePrice = servicePrice;
            }

            public int getPlanId() {
                return planId;
            }

            public void setPlanId(int planId) {
                this.planId = planId;
            }

            public String getTypeId() {
                return typeId;
            }

            public void setTypeId(String typeId) {
                this.typeId = typeId;
            }

            public String getRemark() {
                return remark;
            }

            public void setRemark(String remark) {
                this.remark = remark;
            }
        }
    }
}
